/*
 * this struct that construct db operation protocol , which combinate with db
 * operation protocol, provide DB NAME and TABLE NAME for db operation protocol
 *
 * NOTICE: this file can be create by program reading from xml config in futura
 */
package main

/*
 * database name
 */
type UserInfoDB struct {
}

func (this *UserInfoDB) DBName() string {
	return "user_info"
}

type GoodsInfoDB struct {
}

func (this *GoodsInfoDB) DBName() string {
	return "goods_info"
}

/*
 * table name
 */
type UserTable struct {
}

func (this *UserTable) TableName() string {
	return "user"
}

type GoodsTable struct {
}

func (this *GoodsTable) TableName() string {
	return "table"
}
